package equation;

import equation.Equation;

public class App {
    public static void main(String[] args) {
        // 使用面向对象的方式 求解 一元二次方程
        Equation equation1 = new Equation();///
        //  对象创建以后 要修改属性 怎么处理  ？    getter  and  setter  < 规范 >
        equation1.setA(1);
        equation1.setB(2);
        equation1.setC(1); ;
        equation1.calculate();

        Equation equation2 = new Equation(1,-5,6);////
        equation2.calculate();
        /*equation2.sum(1,2);
        equation2.sum(1,2,5,6,7,8);
        equation2.sum(1,2,5,6,7,8,1,1,1,1);
        equation2.sum(1,2.0,3.0)*/;
        equation2.thisTest(5);
        //hello
    }

}
